Memory issue when create a diagonal numpy array

welcome to shbcf.ru